package com.example.article.service;

import com.example.article.entity.Comment;
import com.example.commonutils.ResultData;

import javax.servlet.http.HttpServletRequest;

public interface CommentService {

    ResultData saveCommentById(String articleId, Comment context, HttpServletRequest request);

    ResultData getComments(String articleId, Integer limit, HttpServletRequest request);

    ResultData delComment(String commentId, HttpServletRequest request);
}
